Skip to content

Remove regex validation for index_name #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2025

Conversation

harupy
Copy link
Contributor

@harupy harupy commented Apr 5, 2025

harupy added 2 commits April 5, 2025 11:38
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
@@ -227,10 +225,9 @@ def __init__(
workspace_client: Optional[WorkspaceClient] = None,
client_args: Optional[Dict[str, Any]] = None,
):
if not (isinstance(index_name, str) and _INDEX_NAME_PATTERN.match(index_name)):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the long run, can we check something like this to replace this regex:
if len(model_name.split(".")) != 3:
but I get this is solving the problem of allowing special chars. So we can merge this one

@sunishsheth2009 sunishsheth2009 merged commit a3e72a9 into databricks:main Apr 8, 2025
5 checks passed
@harupy harupy deleted the rm-regex-validation branch April 8, 2025 02:04
sunishsheth2009 pushed a commit that referenced this pull request Apr 9, 2025
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
annzhang-db pushed a commit that referenced this pull request May 7, 2025
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants